import Mock from 'mockjs'
import LoginApi from './login'
Mock.setup({
  timeout: '300-600'
})

// 登陆相关
Mock.mock(/\/user\/login/, 'post', LoginApi.loginByUsername)
Mock.mock(/\/user\/info/, 'get', LoginApi.getUserInfo)

export default Mock
